* {
    margin: 0;
    padding: 0;
}

:root {
    --left-bg-color: rgba(87, 84, 236, 0.7);
    --right-bg-color: rgba(43, 43, 43, 0.8);
}

#app {
    position: relative;
    display: flex;
    height: 100vh;
}

.left,
.right {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.left::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: var(--left-bg-color);
}

.right::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: var(--right-bg-color);
}

.warp {
    position: absolute;
    width: 100%;
    top: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

h1 {
    color: #fff;
    font-size: 4rem;
    margin-bottom: 100px;
}

.left {
    width: 50%;
    height: 100%;
    background: url('https://50projects50days.com/projects/split-landing-page/ps.jpg') no-repeat;
    background-size: cover;
    transition: all 1s ease;
}

.right {
    width: 50%;
    height: 100%;
    transition: all 1s ease;
    background: url('https://50projects50days.com/projects/split-landing-page/xbox.jpg') no-repeat;
    background-size: cover;
}

.left_hover .left {
    width: 70%;
}

.left_hover .right {
    width: 30%;
}

.right_hover .left {
    width: 30%;
}

.right_hover .right {
    width: 70%;
}

.buy_btn {
    width: 200px;
    height: 60px;
    line-height: 60px;
    text-align: center;
    border: 3px solid #fff;
    color: #fff;
    font-size: 20px;
    transition: all .3s ease-out;
}

.left .buy_btn:hover {
    background: #5754EC;
    border-color: #5754EC;
}

.right .buy_btn:hover {
    background: #1C7A1C;
    border-color: #1C7A1C;
}